// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#ifndef _WIN32_WINNT		// Allow use of features specific to Windows XP or later.                   
#define _WIN32_WINNT 0x0501	// Change this to the appropriate value to target other versions of Windows.
#endif						

#include <stdio.h>
#include <tchar.h>



// TODO: reference additional headers your program requires here
#define DEFMEMBER(type, member, name)\
    public:\
    inline void set_##name(type name){member=name;}\
    inline type get_##name() const {return member;}\
    protected:\
    type member;\
    public:

#define DEFREFMEMBER(type, member, name)\
    public:\
    inline void set_##name(const type& name){member=name;}\
    inline type& get_##name() {return member;}\
    protected:\
    type member;\
    public: